package root;

import java.io.IOException;
import java.util.Scanner;

public class MonitorApplication {
    public static void main(String[] args) {
        try {
            var monitorTcpSocket=new MonitorTcpSocket();
            monitorTcpSocket.acceptDatePackage();
        } catch (IOException e) {
            var scan=new Scanner(System.in);
            System.out.println("创建MonitorTcpSocket发生异常："+e.getMessage());
            e.printStackTrace();
            scan.nextLine();
        }
    }
}
